﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Data.Linq.Mapping;
using System.Data.Linq;
using System.Windows.Media.Imaging;




namespace iLikeWine
{
    [Table]
    public class WineData
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true)]
        public int C_ID
        {
            get;
            set;
        }

        [Column(CanBeNull = false)]
        public string C_Name
        {
            get;
            set;
        }

        [Column(CanBeNull = true)]
        public string C_QrCode
        {
            get;
            set;
        }

        [Column(CanBeNull = false)]
        public string C_Tipo
        {
            get;
            set;
        }

        /*[Column(CanBeNull = true)]
        public BitmapImage C_Foto
        {
            get;
            set;
        }*/

        [Column(CanBeNull = false)]
        public string C_Ano
        {
            get;
            set;
        }

        [Column(CanBeNull = false)]
        public string C_Regiao
        {
            get;
            set;
        }

        [Column(CanBeNull = true)]
        public string C_Ranking
        {
            get;
            set;
        }

        [Column(CanBeNull = true)]
        public string C_Comment
        {
            get;
            set;
        }

    }
}




